package com.xiaoxi.compositemode.composite;

/**
 * @Author xiaoxi
 * @ProjectName design_mode
 * @PackageName com.xiaoxi.compositemode
 * @ClassName Entry
 * @Description TODO
 * @Date 2023/3/14 10:00
 * @Version 1.0
 */
public abstract class Entry {

    protected Entry parent;

    abstract void add(Entry entry);

    abstract void printList(String prefix);

    abstract String getName();

    abstract int getSize();

    abstract String pwd();

}
